<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
  </head>
  <body>
    <script type="text/javascript" src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=nl&w=160&h=60&title=&border=&output=js"></script>
    <h2>ParcDroid</h2>
    <a href="handleiding.php">Handleiding</a><br>
    <a href="wiezijnwij.php">Wie zijn wij?</a><br>
    <form method="get" action="check.php">
      <fieldset>
        <legend>Zoek Kind</legend>
        <table>
          <tr><td>Nummer:<td><input type="text" name="kind_id">
          <tr><td>Datum:<td>
<?php
//Datum SELECT-ers
echo "<select name=\"dag\">\n";
echo "<option value=\"*\">*";
for ($a=1;$a<=31;$a++){
   echo "<option value=\"".doeMetNulErvoor($a)."\">$a</option>";
}
echo "</select>\n&nbsp;\n";
///
echo "<select name=\"maand\">\n";
echo "<option value=\"*\">*";
for ($a=1;$a<=12;$a++){
   echo "<option value=\"".doeMetNulErvoor($a)."\">$a</option>";
}
echo "</select>\n&nbsp;\n";
///
echo "<select name=\"jaar\">\n";
echo "<option value=\"*\">*";
for ($a=2009;$a<=2012;$a++){
   echo "<option value=\"$a\">$a</option>";
}
echo "</select>\n&nbsp;\n";

function doeMetNulErvoor($str){
  if ($str<10){
    return "0$str";
  } else {
    return $str;
  }
}
?>
          <tr><td colspan="2"><input type="hidden" name="src" value="web"/><input type="submit" value="zoek" />
        </table>
      </fieldset>
    </form>
  </body>
</html>
